.edit{
  margin-top: 20px;
  min-height: 653px;
  input{
    height: 36px;
    line-height: 20px;
    width: 100%;
  }
  textarea{
    width: 100%;
  }
  button{
    font-size: 15px;
    min-width: 68px;
    color: #fff;
    outline: none;
    &[type='reset']{
      color: #eee;
      &:hover{
        color: #fff;
      }
    }
  }
  form{
    .form-group{
      margin-bottom: 6px;

      .edit-view{
        padding: 8px 16px;
        min-height: 22px;
      }

      &.has-error{
        .help-block{
          margin-bottom: 0px;
        }
      }
      .error-msg{
        color: #c30c0c;
      }

      .btn-file-browser{
        background: @color-input none repeat scroll 0 0;
        border: 1px solid @color-input;
        color: #fff;
        cursor: pointer;
        font-size: 14px;
        margin-top: 2px;
      }

      .bootstrap-datetimepicker-widget.dropdown-menu{
        z-index: 10000;
      }

      /* textarea在线编辑器ueditor显示 */
      .form-control.edui-default{
        display: inline-table;
        width: 98%;
        border: 0px;
        padding: 0px;
        box-shadow: inset 0 0px 0px #fff;
      }
      .edui-default .edui-editor-bottomContainer td{
        padding-right: 5px;
      }

      .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary, .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary{
        background-color: @color-input;
      }
    }

    .form-actions {
      display: block;
      text-align: center;
      border-top: 1px solid #e5e5e5;
      margin-bottom: 20px;
      margin-top: 20px;
      padding: 19px 20px 20px;
      .btn-reset{
        color: #fff;
        background-color: #999;
        border-color: #999;
        &:hover,&:active{
          background-color: #666;
          border-color: #666;
        }
      }
    }
  }

  select{
    & +.btn-group{
      width: 100%;
      & > .multiselect:first-child{
        color: #333;
        font-size: 14px;
        text-align: left;
        width: 100%;
        b.caret {
          position: absolute;
          top: 14px;
          right: 8px;
        }
      }
      .multiselect-container{
        z-index: 20000;
        & > li {
          width: 300px;
          & > a {
            height: 32px;
            line-height: 26px;
            & > label {
              padding-top: 3px;
              padding-left: 40px;
              &.radio{
                padding-left: 20px;
              }
              & > input[type=checkbox], & > a > label > input[type=radio]{
                height: auto;
                margin-left: -30px;
                margin-top: 7px;
              }
              & > input[type=radio]{
                display: none;
                margin-top: -5px;
              }
            }
          }
        }
        &.dropdown-menu > .active > a{
          background-color: @color-input;
          &:hover, &:focus{
            background-color: @color-input;
          }
        }
      }
    }
  }
}

//Ueditor全屏时样式
.bb-edui-fullscreen{
  z-index: 20000 !important;
}

/************************* select2:start ************************/

.select2-container{
  width: 100% !important;
  z-index: 10000;
  .select2-selection--single, .select2-selection--multiple{
    outline: none;
    height: 36px;
    padding-left: 5px;
    .select2-selection__rendered{
      line-height: 36px;
    }
    .select2-selection__arrow{
      height: 36px;
    }
  }
  .select2-selection--multiple {
    height: 40px;
    .select2-selection__rendered{
      .select2-selection__choice{
        height: 30px;
        line-height: 30px;
        margin-top: 4px;
      }
      .select2-selection__clear{
        margin-top: 2px;
      }
    }
  }
  .select2-search--inline .select2-search__field{
    margin-top: 2px;
  }
}
.select2-container--default.select2-container--focus .select2-selection--multiple{
  border: 1px solid @color-input !important;
  padding-left: 5px;
}
.select2-container--default .select2-results__option--highlighted[aria-selected]
{
  background-color: @color-input;
}
/************************* select2:end ************************/

@media (min-width: @screen-sm-min) {
  .edit{
    .input-group.col-sm-9{
      width: 98%;
    }
    input,textarea,select{
      width: 98%;
    }
    .btn-file-browser{
      margin-top: 0px;
    }
    select{
      & +.btn-group{
        width: 86.5%;
        & > .multiselect:first-child{
          width: 113%;
        }
      }
    }

    .select2-container{
      width: 98% !important;
    }
  }
}
